#!/bin/bash
read -p "input your username:" name
read -p "input number:" num
for i in `seq $num`
do
if
	id ${name}$i
	then
	userdel -r ${name}$i
	echo "user delete ${name}$i"	
	else
	echo "user aleady exists"
fi
done
